package pers.qianyu.module.core.domain.system.enums;

/**
 * @author mizzle rain
 * @date 2021-02-12 22:03
 */
public enum SysUserTypeEnum {
    SYSTEM_USER("系统用户", 0),
    COMM_USER("注册用户", 1),
    ADMIN_USER("管理员用户", 2),
    ;
    private final String name;
    private Integer code;

    SysUserTypeEnum(String name, Integer code) {
        this.name = name;
        this.code = code;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }
}
